package com.jpyl.jpMedicalTreatment.common;


import com.forxindu.kit.KitSettings;
import com.jpyl.jpMedicalTreatment.model.PopwindowModel;

import java.util.ArrayList;
import java.util.List;

public class MedicalSettings {
    //================================== 自定义key值 ===============================================//

    /**
     * 用户手机号
     */
    public final static String MEMBER_MOBILE = "member_mobile";
    /**
     * 用户ID key
     */
    public final static String MEMBER_COOKIE = "member_cookie";

    //================================== 自定义变量值 ===============================================//
    /**
     * 下载文件路径。
     */
    public static String FILE_PATH = "/sdcard/";
    /**
     * Log开关。
     */
    public static final boolean IS_DEBUG_MODE = KitSettings.IS_DEBUG_MODE;
    /**
     * Log前缀。
     */
    public static final String APP_LOG_TAG = "[MedicalSettings:)]";
    /**
     * APP 版本号Key，用于区分APP是否第一次使用或更新后使用。
     */
    public static final String VERSION_CODE = "version_code";
    /**
     * /。
     */
    public static final String HEADER_SEPARATOR = "/";
    /**
     * 传入值
     */
    public static final int BAIDU_READ_PHONE_STATE = 100;
    /**
     * 验证码重新发送时间
     */
    public final static int COUNT_DOWN_TIME = 60000;
    /**
     * 请求图片前缀
     */
    public static final String IMAGE_URL = "https://39.97.164.75:443/jpyl/resources";
    //手机分辨率比例  start
    public static final float MDPI_SCALE_CHANGE = 1.0f;
    public static final float HDPI_SCALE_CHANGE = 1.5f;
    public static final float XHDPI_SCALE_CHANGE = 2.25f;
    public static final float XXHDPI_SCALE_CHANGE = 3.375f;
    //手机分辨率比例  end

    public static int USERTYPE_PATIENT = 1;//==1患者登陆可见
    public static int USERTYPE_DOCTOR = 2;// ==2医生登陆可见
    public static int USERTYPE_AGENT = 3;// ==3代理可见
    public static int USERTYPE_GENERALAGENT = 4;// ==4总代理可见

    public static String STRUSERTYPE = "userType";
    public static String STRUSERID= "userId";

    public static final int SITUATION_1 = 1;
    public static final int SITUATION_2 = 2;
    public static final int SITUATION_3 = 3;
    public static final int SITUATION_4 = 4;
    public static final int SITUATION_5 = 5;
    public static final int SITUATION_6 = 6;


    /**
     * 出货情况，检查情况
     *
     * @return
     */
    public static List<PopwindowModel> getSituation() {
        List<PopwindowModel> list = new ArrayList<>();
        list.add(new PopwindowModel("出货情况", SITUATION_1));
        list.add(new PopwindowModel("检查情况", SITUATION_2));
        return list;
    }

    /**
     * 出货情况，我的患者（代理）
     *
     * @return
     */
    public static List<PopwindowModel> getDocSituation() {
        List<PopwindowModel> list = new ArrayList<>();
        list.add(new PopwindowModel("出货情况", SITUATION_1));
        list.add(new PopwindowModel("我的患者", SITUATION_6));
        return list;
    }

    /**
     * 出货情况（总代理）
     *
     * @return
     */
    public static List<PopwindowModel> getGeneralAgentSituation() {
        List<PopwindowModel> list = new ArrayList<>();
        list.add(new PopwindowModel("出货情况", SITUATION_1));
        return list;
    }

    /**
     * 检查情况
     *
     * @return
     */
    public static List<PopwindowModel> getCheckSituation() {
        List<PopwindowModel> list = new ArrayList<>();
        list.add(new PopwindowModel("HPV检查结果", SITUATION_3));
        list.add(new PopwindowModel("HP检查结果", SITUATION_4));
        list.add(new PopwindowModel("Se检查结果", SITUATION_5));
        return list;
    }

    /**
     * 微信支付orderTradeNumber
     */
    public final static String ORDER_TRADE_NUMBER = "order_trade_number";

}
